go against

verbs

fail to agree with; be in violation of; as of rules or patterns
"This sentence violates the rules of syntax"
act in disregard of laws, rules, contracts, or promises
"offend all laws of humanity"; "violate the basic laws or human civilization"; "break a law"; "break a promise"
resist
"buck the trend"